package com.wecan.gateway.constant;

/**
 * @Author liuzhihao
 * @Date 2022.01.30
 * @Version ${version}
 * @Description ${description}
 */
public class PropertyConstant {
    // 一级属性
    public static final String GATEWAY_PREFIX = "gateway";

    // 官网配置
    public static final String GATEWAY_HOME = GATEWAY_PREFIX + ".home";
    // 是否正在发布
    public static final String GATEWAY_PUB_APP = GATEWAY_PREFIX + ".pubApp";

    // 官网版本和脚本路由配置
    public static final String GATEWAY_HOME_VERSION = GATEWAY_HOME + ".version";
    public static final String GATEWAY_HOME_URL = GATEWAY_HOME + ".url";
    public static final String GATEWAY_ANDROID_URL = GATEWAY_HOME + ".androidUrl";
    public static final String GATEWAY_IPHONE_URL = GATEWAY_HOME + ".iphoneUrl";

    public static final String ANNOTATION_PREFIX = "${";
    public static final String ANNOTATION_SUFFIX = "}";

    public static final String ANNOTATION_GATEWAY_HOME_VERSION = ANNOTATION_PREFIX + GATEWAY_HOME_VERSION + ANNOTATION_SUFFIX;
    public static final String ANNOTATION_GATEWAY_HOME_URL = ANNOTATION_PREFIX + GATEWAY_HOME_URL + ANNOTATION_SUFFIX;
    public static final String ANNOTATION_GATEWAY_ANDROID_URL = ANNOTATION_PREFIX + GATEWAY_ANDROID_URL + ANNOTATION_SUFFIX;
    public static final String ANNOTATION_GATEWAY_IPHONE_URL = ANNOTATION_PREFIX + GATEWAY_IPHONE_URL + ANNOTATION_SUFFIX;
    public static final String ANNOTATION_GATEWAY_PUB_APP = ANNOTATION_PREFIX + GATEWAY_PUB_APP + ANNOTATION_SUFFIX;
}
